package com.example.carbonbackend.model.vo;

import com.example.carbonbackend.common.PageRequest;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * 交易记录查询请求
 */
@Data
public class TradeVO  implements Serializable {
    /**
     * id
     */

    private Long id;

    /**
     * 区块链交易id
     */

    private String blockchainId;

    /**
     * 买方id
     */

    private Long buyerId;

    /**
     * 卖方id
     */

    private Long sellerId;

    /**
     * 数量
     */

    private Long amount;

    /**
     * 价格
     */

    private Long price;

    /**
     * 交易日期
     */

    private Date tradeTime;


    private Integer isDelete;

    private static final long serialVersionUID = 1L;
}
